import request from '@/utils/request'

export function assetsGudingPut(data) {
  return request({
    url: '/standingbook/assetsfixed',
    method: 'put',
    data
  }).then(res => {
    return res
  })
}

export function assetsGudingPage(data) {
  return request({
    url: '/standingbook/assetsfixed/page',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}

export function assetsGudingAdd(data) {
  return request({
    url: '/standingbook/assetsfixed',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}

export function assetsGudingDel(data) {
  return request({
    url: '/standingbook/assetsfixed',
    method: 'delete',
    data
  }).then(res => {
    console.log(res)
    return res
  })
}

export function assetsImport(data) {
  return request({
    url: '/standingbook/assetsfixed/import',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}

export function assetsExport(data) {
  return request({
    url: '/standingbook/assetsfixed/export',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}
